package com.shang.web.service;

import com.shang.web.entity.User;
import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;

/**
 * @ClassName UserService
 * @Description TODO
 * @Author Larry
 * @Date 2021/5/26 15:04
 * @Version 1.0
 */
public interface UserService {
    Mono<User> getUserById(int id);
    Flux<User> getAllUser();
    Mono<Void> saveUser(Mono<User> userMono);
}
